package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @description:科室的上传（添加）功能
 * @author :又菜又爱玩的→速趴塞亚锦←
 * @create :2023/5/17
 * @param  :1.8
 */
public interface DepartmentService {
    void saveDepartment(Map<String, Object> stringObjectMap);
    //科室的上传完成做（页面显示）功能
    Page<Department> getDepartmentPage(Map<String, Object> stringObjectMap);

    //删除功能
    void remove(Map<String, Object> stringObjectMap);
    //医院管理里面的排班计划及显示及折叠层次
    List<DepartmentVo> getDepartmentList(String hoscode);


    //前端排班 == 排班信息展示（第三部分展示）
    String getDepName(String hoscode, String depcode);

    //(用户端带查询条件的排班信息)
    Department getDepartment(String hoscode, String depcode);
}
